UMD shim for AMD exports

Using the no-dependency form from umdjs/umd returnExports
See https://github.com/umdjs/umd/blob/master/returnExports.js