replaced jsdoc3 with jsdoc2