Extend code to parse json data
Remove ajaxScript since it is obsolete now
Remove scripts method; load script in create action