write a Function of createXHR in XHR.js
extend support to earilier version of IE in createXHR in XHR.js