text: $(document).ready(function() {
      $('.btn-poll').on('click', function() {
          var defaultTemp = $('#currentTemp').attr('data-value');
          var vote = parseInt($('#proposedValue').val() || defaultTemp) + parseInt($(this).attr('data-vote'));
          var data = { vote: vote, userMSTeams: $('#userMSTeams').val() };
  
          $.post('/sendPoll', data).done((data) => {
              console.log("Data send :: ", data);
              $('#dvPoll button').attr('disabled', 'disabled');
              localStorage.setItem('userVote', $('#userMSTeams').val());
              setTimeout(() => {
                  window.location.reload();
              }, 500);
          }).fail((err, err2) => {
              console.log('Error to send de poll :: ', err, err2);
          });
      });
  
      $('#btnYes,#btnNo').on('click', function() {
          var voteElection = false;
  
          if ($(this).attr('id') === 'btnYes') {
              voteElection = true;
          }
  
          var data = { vote: voteElection, userMSTeams: $('#userMSTeams').val() };
  
          $.post('/sendVote', data).done((data) => {
              console.log("Data send :: ", data);
              $('#btnYes,#btnNo').attr('disabled', 'disabled');
              $('#voteSended').html('Your vote has been sent')
          }).fail((err, err2) => {
              console.log('Error to send de poll :: ', err, err2);
          });
      });
  });