$("#version_list").html('<%= escape_javascript(render :partial => 'list') %>');
$("#pages").html('<%= pagination_links_full @version_pages, @versions_count, :per_page_links => false, :remote => @is_remote, :flag => true, :is_new => true %>');