View ajaxResponse func