Adding AMD/require support wasn't my intent -- it is a bit more involved. I just wanted to fix CommonJS support for the browser and add `component.json` to be able to use the package properly in `component(1)` environment.