updating the jsdoc examples to make them more generic