Conversion to UMD
Converted module to load via AMD, CommonJS, or as a browser global. More info here: https://github.com/umdjs/umd