Fix AJAX URL when hosted in a virtual folder