Solution to 8.1

My apologies this commit is a mess

The main part of this commit is students/johnfahey/assignment8.1/main.js
You might consider using a more descriptive name $this doesn't really give you any information on what you plan on doing with this var.