Typo in ajaxEndpoint.php