Add support for loading via AMD and CommonJS

Would be super nice to have it baked in! :)
Yup, it is if we wanna play nicely with module loaders (AMD or CommonJS).