.map(row => {
                row.className = 'th-entry'
            });
        });
    });

    [...new Set(data.map(elem => elem.tags).flat())].map(elem => {
        let selector = document.createElement('a');
        selector.className = 'selector selector-active';
        selector.appendChild(document.createTextNode(elem));
        types.appendChild(selector);
        if (!(elem in selectors.type)) {
            selectors.type[elem] = true;
        }
        selector.addEventListener('click', e => togg