Solution to the cookies and ovens Javascript challenge.