Doc/jsdoc

Documentation in jsdoc