new_contents: totNumQuest = 1;
  
  
  var names = ["Scott", "Fred", "Elizabeth", "Kumar", "Harold", "Jensa", "Maria", "Beth", "Steve", "Harry", "Lucy", "Teneala", "Henrietta", "Bernadette", "Delphinia", "Renea", "Paz", "Stephanie", "Sara", "Sarah", "Larry", "Jerry", "Garry", "Gary"];
  
  function = randomElementOf(theArray) {
    return theArray[Math.floor(Math.random() * theArray.length)];
  }
  
  function loadQuestion(qn) {
    if (qn == 1) {
      sides = [4,6,8,12,20]
      side = randomElementOf(sides);
      name1 = randomElementOf(names);
      rollN = Math.floor(Math.random() * 8) + 2;
      rolls =[];
      owside = Math.floor(Math.random()*side)+1;
  
      question = name1 + " rolls a fair " + side + "-sided die. " + name1 + " rolls the dice " + rollN + " times. ";
      question += "The rolls were: ";
      for (i = 0; i< rollN; i++) {
        rolls.push(Math.floor(Math.random()*side)+1);
        question += rolls[i] + ", ";           
      }
      question += ". What is the probability of rolling a " + owside + "?";
      question += "<br><br>Enter your answer as a fraction using the '/' symbol. i.e. 1/2.";
      answer = "1/" + side;
      kurl = "https://www.khanacademy.org/math/precalculus/prob-comb/basic-prob-precalc/e/probability_1";
    }
    document.getElementById("question").innerHTML = question;
    document.getElementById("Khan").innerHTML = 'For more practice, visit <a href=\"' + kurl + '>' + kurl + '</a>';
  }
                   
  newQuestion() {
    Qn = Math.floor(Math.random()*totNumQuest)+1;
    loadQuestion(Qn);
  }
    
    newQuestion();
  
subject: Update praxis.js