componentize js

awesome lib! i just wrapped a little of the js and added the component.json so we can use it anywhere