Add JSDoc

Closes #8
Merge pull request #12 from elwayman02/documentation

Add JSDoc