Fix things found by JSHint.