Update the index.js.