Cross-browser XHR object creation