ignore global document var in jshintrc