js iterate dict

for(var key in dict) {
  var value = dict[key];

  // do something with "key" and "value" variables
}
aso