add index.js and readme.md