Edit answer in follow up questions
Edit my solution for Manipulating JavaScript Objects