improved example and jshintrc