document.getElementById('myProgrecss').dataset.progrecss = '<PERCENT>';
Thanks for that :) I was actually unaware of that method and I prefer that style if I'm honest.
Thanks!