add file index.js