Explicitly assign window reference to XMLHttpRequest.

In some installations of IE8 on Windows XP, XMLHttpRequest and
window.XMLHttpRequest do not reference the same object after
window.XMLHttpRequest is reassigned.