JShint corrections.