Merge pull request #158 from RichardAvendano/refactor

added front end documentation
Made code conform to style guide
Added parameters to events
Added event parameters
Merge pull request #159 from jasonerpenbeck/feat/events

(fix) (doc) updated parameters on events, styled code to conform with guidelines in helpers.js
added jsdocs for front end factories