Fix nits found by JSHint.