Javascript - Array with String Index: Loop and null check
У вашего броузера проблема в совместимости с HTML5
Tutorial on how to loop through Javascript Array with String Index (Associative Array) with for (foreach) Also quick example how to check if the object in array is exist/Null.
Code: http://jsfiddle.net/0t1vs1rn/