Added comments and variables

Took notes on this screencast and placed them in the js file as
comments. Created live example variables to go along with the notes.