Got the AJAX Url shortener working