update jsdoc and change index and package.json