made it UMD
fixed HashMap browser reference and made .HashMap a member of the module, rather than the module itself
Merge pull request #7 from khrome/master

Wrapped it as A UMD, so it can work in loaders, too