Added component.js support