Adjusts ajax url