Overrides native Map if entries is undefined

This overrides a providers native Map implementation if it doesn't implement entries(), keys() or values().

relates to #1301
This change is violating our style guide.

We use https://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml