fix ajax file paths