Feature jsdoc, fixes #42