Fix JShint errors