Created component.js for bower use