included and updated ajax.php to use new URL shortener