$('#button-wait').on('click', function(e){
      e.preventDefault();
      let action = {"scope": "example", "action": "wait"}
      socket.send_message(action);
    });