Merge the both action file in ajaxResponse.php file.