JSHint corrections