Wrap bundle into umd
Add support for loading in node.js environments
Add support for global Buffer/process/setImmediate

with on-demand inclusion