UMDified the project, so it can easily be used with requirejs and vanill...

UMDified the project, so it can easily be used with requirejs and vanillajs/global