map functions as expected in IE9/10