Fixes `map` implementation for IE8+