Added a wrapper for AMD and CommonJS module loading

There ya go ya lazy fed (;