Errors reported by JSHint