Radioactive,
var val = audioj[0].volume
iconsound.on('click', function(){
if (iconsound.hasClass('mute') == true) {
audioj.prop("muted",!audioj.prop("muted"));
volumes.css('width', val*100+'%');
iconsound.removeClass('mute low high').addClass('medium');
} else {
audioj.prop("muted",!audioj.prop("muted"));
val = audioj[0].volume
volumes.css('width', '0%');
iconsound.removeClass('medium low high').addClass('mute');
};
});