Fix ajax urls