moved xhr from request.js to xhr.js