$("#records_table").html("<%= escape_javascript(render('table', :collection => collection)) %>");