rm.addEventListener("submit", event => {
      event.preventDefault();
      let formData = new FormData(form);
      let originalText = formData.get("original");
      let changedText = formData.get("changed");
      let [dif, del, add] = findTextDifference(originalText, changedText);
      document.getElementById("difference").innerHTML = "<b>Total Difference</b><br>" + dif;
      document.getElementById("deletions").innerHTML = "<b>Deletions</b><br>" + del;
      document.getElementById("additions").inne