added main property to component.js