Add absolute URL to client-side AJAX call