Low-risk fixes suggested by JSHint.