renamed ajax.php to xhr.php