anchor.diff:      })
       .then(function (response) {
           _.forEach(response, function (resultSet, tabProperty) {
  -            // generate formatted text
  +            // Generate formatted text
               var tabName = _.startCase(tabProperty);
               var tabId = _.kebabCase(tabProperty);
  -            // setup tab header template
  +            // Setup tab header template
               var tabTemplate = document.getElementById('search-results-tab-header-template');
               var tabHeader = document.importNode(tabTemplate.content, true);
  -            // add content to tab header template
  +            // Add content to tab header template
               var tabHeaderLink = tabHeader.querySelector('a');
               tabHeaderLink.textContent = tabName;
               tabHeaderLink.href = '#' + tabId;
  -            // add tab header to page
  +            // Add tab header to page
               document.getElementById('search-results-tab-header').appendChild(tabHeader);
   
               // setup the tab panel template
  
positive.code:                 });
              }
              // add the tab panel to the page
              document.getElementById('search-results-tab-panel').appendChild(tabPanel);
          });
  
          // set first tab active
          var firstTab = document.querySelector('#search-results-tab-header .mdl-tabs__tab');
          if (firstTab) firstTab.classList.add('is-active');
          var firstPanel = document.querySelector('#search-results-tab-panel .mdl-tabs__panel');
          if (firstPanel) firstPanel.classList.add('is-active');
      })
      // log error to browser console
      .catch(function(error) {
  
negative.code:                     var searchResultTemplate = document.getElementById('search-result-item-template');
                      var searchResult = document.importNode(searchResultTemplate.content, true);
                      // add top level content
                      searchResult.querySelector('.up-search-list-item-avatar').classList.add(metadata[tabProperty].avatar);
                      searchResult.querySelector('.up-search-list-item-title').textContent = result[metadata[tabProperty].attributes[0]];
                      if (result.url) {
                          searchResult.querySelector('.up-search-list-item-secondary-action').href = result.url;
                      } else {
                          searchResult.querySelector('.up-search-list-item-secondary-content').style.visibility = 'hidden';
                      }
                      var resultAttributeList = searchResult.querySelector('dl');
                      // QUESTION: should that attribute picking be handled server-side? YES
                      // add each attribute that should be shown for a result
                      _.forEach(metadata[tabProperty].attributes, function (attributeName) {
                          var attributeValue = result[attributeName];
  