Javascript For Each Loop Through Hashmap