Remove var window, as it kills IE10

Proof that it works without it in/outside of workers: http://imagine-it.org/jshint-test.html