Moved index js to index.js.