Fixed broken 'globals' option for JSHint

JSHint doesn't appear to accept the 'globals' option as part of its options hash, so I set up the JSHint linter to remove the globals option and put it in its own variable.