using component.js