Fix URL in the AJAX call