Typo in src/main/php/scripts/ajaxEndpoint.php