[BUG #8183] add jsdoc to devDependencies
[BUG #8183] add jsdoc comments
[BUG #8183] ignore generated 'api' dir from jsdoc