add make docs using jsdoc
fix async example