add index.js and package.json