fix up api doc generation for jsdoc 3