fix: Use a `webpack` compatible UMD/AMD/Global wrapper.

fixes #9 

@vladikoff, could you give this a try and see if it fixes the webpack problem? If it does, I'll stamp a new version.