IE fix for lack of Array.map