fix jsdoc parameters, see #6