Added support for component.js