What is the best method for creating an XMLHttpRequest object?
It should work in all capable browsers.
Use XMLHttpRequest.js - Standard-compliant cross-browser XMLHttpRequest object implementation and work with the object in a standard (W3C) way