some mods, added jshintrc