generate API docs with JSDoc 3