fix ajax urls