updated documentation
Merge pull request #2 from edewit/jsdoc

updated documentation