JShint errors fix