change ajax request url again to fit host