Fix UMD globals for browser-like environments in types.
Merge pull request #572 from niant/master

Fix UMD globals for browser-like environments in types.