JSHint code style issues