"datetime") { //else
          top[d] = value;
        }

      })

      // this function take a dictionary [country:active confirmed case], return a dictionary that sorted by the number of active confired case
      function sortJsObject(obj) {
        items = Object.keys(obj).map(function(key) {
          return [key, obj[key]];
        });
        items.sort(function(first, second) {
          return second[1] - first[1];
        });
        sorted_obj = {}
        $.each(items, function(k, v) {
       