[GH-13] Add UMD wrapper
[GH-13] Add UMD wrapper

A slightly modified version of this UMD wrapper is used:
https://github.com/umdjs/umd/blob/4a87e85450baf582005243f9e922566ef2fc533a/returnExports.js

airbnb/polyglot.js