Improve documentation and add jsdoc command line to npm scripts