window.addEventListener('DOMContentLoaded', function(event) {
  var submitButton = document.getElementById('submit-button');
  var submitButtonClicked = document.getElementById('submit-button-clicked');
  document.getElementById('submit-button').onclick = function() {
    submitButton.className = "display-none";
    submitButtonClicked.className = "waiting-pulse";
  }
});