結果 : loop through dictionary javascript