Improve jsdoc comments, add example usage