Do not take `global` as default context but `window` (should fix #323)

No idea how to test that. Would love to help. :)