anchor.diff:  
   window.language_code = "en-US";
   
  +var true_failure = false;
   var create_email = false;
   var final_transcript = '';
   var recognizing = false;
  
positive.code:   recognition.onerror = function(event) {
      console.log("onerror hit!");
      console.log(event);
  
      if (event.error == 'network') {
        console.log("network error encountered; requesting restart!!");
  
negative.code:   recognition.onend = function() {
        console.log("*** END EVENT ***");
      recognizing = false;
      if (!true_failure) {
          console.log("*** !true_failure ***");
          restart_recognition = true;
          true_failure = true;
      }
      if (ignore_onend) {
        return;
      }
  