jshinted code