Add window global to package.json jshintconfig