Make AJAX calls relative to the web app path, so they work outside the / context