Minor JSHint corrections