changed component.js