adds jsdoc for generating library documentation