Pass window to XMLHttpRequest using simply instance.window