Added support form component.js

Fixes [#5].