Update UMD according to umdjs/returnExports

umdjs/returnExports: https://github.com/umdjs/umd/blob/master/returnExports.js

Ref gh-222
Closes gh-221