error}</td></tr>`;
        document.querySelector('table tbody').innerHTML = html;
    }

    // This is a Tagged Template Literal function that escapes values for HTML.
    // Use it like this [render``] and not [render(``)].
    function render(strings, ...values) {
        const html = [strings[0]];
        for (let n = 0, m = values.length; n < m; n++) {
            html.push(escapeHtml(values[n]));
            html.push(strings[n+1]);
        }
        return html.join('');
    }

    function escapeHt