write a Usage of createXHR in XHR.js