minor adaptions
[BUG #8182] add jsdoc to devDependencies
[BUG #8182] add JSDoc comments
ignore generated 'api' dir from jsdoc