List")

    function addEvent(cloudEvent) {
      const {
        eventTime,
        data
      } = cloudEvent

      const li = document.createElement("li")
      li.textContent = `[${new Date(eventTime).toLocaleTimeString()}] ${JSON.stringify(data)}`
      eventList.appendChild(li)
    }

    const baseUrl = "http://localhost:4000/_rig/v1"
    const wsUrl = "ws://localhost:4000/_rig/v1"

    function randomString() {
      return Math.random().toString(36).substring(2, 15) + Math.random().toString(36).sub