d="elmContainer"></div>

  <script>
    Elm.HyperlinkTests.init({
      node: document.getElementById("elmContainer")
    }).ports.elmToJS.subscribe(function (namedSpecs) {
      for (let name of Object.keys(namedSpecs)) {
        vegaEmbed(`#${name}`, namedSpecs[name], {
          actions: true,
          logLevel: vega.Warn
        }).catch(console.warn);
      }
    });
  </script>
</body>

</html>