));
                          }
                        });
  }

  function calcHealthStatusClass(status) {
    let healthStatusClass;
    if (status === "UP") {
      healthStatusClass = "health-up";
    } else if (status === "DOWN") {
      healthStatusClass = "health-down";
    } else {
      healthStatusClass = "health-down";
    }
    return healthStatusClass;
  }

  function calculateHealth(data) {
    let overallStatus = data.status;
    $(`<p>
            <span class="health-key"></span>
           