Added jsDocs style documentation to code
Merge pull request #93 from jasonerpenbeck/docs

Added jsDocs style documentation to code