added jsdoc for documentation generation
added jsdoc for documentation generation