rename global var, add jshintrc