added jsdoc comments
added reference