Added a section on documenting JS
Make example follow the styleguide
Merge pull request #3 from kissmetrics/mj/add-js-documentation

Added a section on documenting JS