Building index.js up