add index.js to repo