Add AJAX for ExternalRecord scaffold