ran JShint, added more comments