           if (localStorage.getItem('tabbis').length == 0) return;

            memory = Object.values(JSON.parse(localStorage.getItem('tabbis')));
        } catch (e) {
            console.log('Tabs local storage failed. Most likely IE in use.')
        }
    };

    fn.putActiveClass = function () {
        for (var i = 0; i < activeChildren[type].length; i++) {
            activeChildren[type][i].classList.remove(data[type + 'Active']);
        }

        activeItems[type].classList.add(data