add comments for documentation with jsdoc