Fix a JSHint bug