lt[elementName] = true;
        break;
      }
    }
    return result;
  }
  // When the experiment is finished, replace the promise so that we can
  // kick off experiments that depend on the result of this experiment.
  function finish(result) {
    var toSatisfy = resumable;
    if (toSatisfy instanceof Promise) {
      resumable = result;
      toSatisfy.satisfy();
    }
    displayJson(result, document.getElementById('resumable-json'))
  }
  if (resumable instanceof Promise) {
    runExperiment(misnes