Make main.js the component