<html>

<head>
  <title>Loop Energy Monitor</title>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
  <!-- This is a really quite old version of socket.io, but newer versions incompatible with the server -->
  <script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/0.9.16/socket.io.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.5.1/dat.gui.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/highcharts/4.2.3/highcharts.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/highcharts/4.2.3/themes/dark-unica.js"></script>
  <script src="loop.js"></script>
</head>

<body>
  <div id="container"></div>
  <script>
    $(function() {
      $(document).ready(function() {
        loop.init($("#container"));
      });
    });
  </script>
</body>

</html>

<html>

<head>
  <title>Loop Energy Monitor</title>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
  <!-- This is a really quite old version of socket.io, but newer versions incompatible with the server -->
  <script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.2.0/socket.io.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.5.1/dat.gui.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/highcharts/4.2.3/highcharts.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/highcharts/4.2.3/themes/dark-unica.js"></script>
  <script src="loop.js"></script>
</head>

<body>
  <div id="container"></div>
  <script>
    $(function() {
      $(document).ready(function() {
        loop.init($("#container"));
      });
    });
  </script>
</body>

</html>

Update to socketIO 2 in web client too.
Update to socketIO 2 in web client too.
