Creating necessary index.js component.