Rewrite and add JSDoc comments
Create component.json and rename to index.js for default script
Add unit tests via mocha and phantom
ctm