Creation of index.js