Changed return to echo in ajaxAction