code: function getVolume() {
      $.get('/controls/volume', function (data) {
        volume = data.volume;
        $('.js-volume').val(data.volume);
  
        if (data.muted) {
          $('.js-mute').hide();
          $('.js-unmute').show();
        } else {
          $('.js-unmute').hide();
          $('.js-mute').show();
        }
      });
    }
docs: Initialize