Changing vairables and functions names in view/AjaxView.php