Add AJAX for Record scaffold