added component.js