Fixing index.js.