add index.js file