revise a post - eloquent javascript chapter 1