added jsdoc and more readme