Adding window object to .jshintrc to avoid errors