Support running outside the windows app environment
Adding a fallback for browsers without Map

Which supports the one usage of Map in the code today which is a (value
-> int) map.
Merge pull request #32 from spankyj/master

Fix a couple of issues using this in a browser