JShint cleanup