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