Added index.js to component as intended