jshinted; code style