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