haven't used js in a while. added some practice code uisng the reintroduction to mozilla page.
added a few js event listeners