actually build the index.js