fix #746 Removed usage of map function to fix this test for IE 8