t,
          and sets the active tab if the current hash matches the id
          of an element controlled by a tab link
          @param {String} selector class name of the element 
          containing the tabs we want to attach events to
        */
        function initTabs(selector) {
            var tabContainers = [].slice.call(document.querySelectorAll(selector));

            tabContainers.forEach(function (tabContainer) {
                var tabs = [].slice.call(tabContainer.querySelectorAll('[aria