Fix AJAX relative URLs