code: function(scores) {
          var completion = '';
          // Create mark-up
          var i = 0;
          var lastStatus = -1;
          while (true) {
              if (lastStatus !== scores[i]) {
                  completion += '<span class=' + scores[i].toString() + '>';
                  lastStatus = scores[i];
              }
              completion += this.element.value[i];
              i++;
              if (i === this.element.value.length) {
                  completion += '</span>';
                  break;
              }
              if (lastStatus !== scores[i]) {
                  completion += '</span>';
              }
          }
  
          return completion;
      }
docs: Markup an array of Status values with spans