Make ajax requests relative to support multiple mounts under one hostname