v0.5.1 component.js support