fix jsdoc comment

fix jsdoc comment.
refactor function parameters.