Add AJAX for Record model