Removing arr.map for IE support