Implement jQuery/AJAX for URL shortener.