Minor changes for JSHint validating