improve jsdocs