$("#album_<%=@album.id %>").replaceWith("<%= escape_javascript(render(@album))%>"); image_files_load();