base file for Ajax XHR