Build index.js