Bug 1031998 JSHint throwing no errors