value;
          $("#eps").html(ui.value.toFixed(2));
        }
      });
      $("#eps").html(agent.epsilon.toFixed(2));

      togglelearn(); // start

      // render markdown
      $(".md").each(function(){
        $(this).html(marked($(this).html()));
      });
      renderJax();

    }

    var jaxrendered = false;
    function renderJax() {
      if(jaxrendered) { return; }
      (function () {
        var script = document.createElement("script");
        script.type = "text/javascript";
        scr