Prevent jshint error about not defined window
0.1.2