jsdoc documentation added