le(e, elem, selectors.type));
    });

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

    [...