code: function getTotalTabsWidth(elements) {
      var sum = 0, i, tab;
  
      for (i = 0; i < elements.tabs.length; i++) {
        tab = elements.tabs[i];
        sum += tab.offsetWidth;
      }
  
      return sum;
    }
docs: Sum the width of all tabs.
  
  @param elements
  @returns {number}