Yeah sorry if this piece is unclear, I could maybe add some more instruction if that would help??
I wanted to make the demo page as minimalist as possible. Maybe I will just add (using js) after step three.
But yes you can use js, something like
$('.myprogrecss').attr('data-progrecss', <PERCENT>); (if using jQuery)
Or I believe Document.getElementById('myProgrecss').setAttribute('data-progrecss', <PERCENT>);
DISCLAIMER, this code just popped out of my head so it's probably not quite correct but near abouts.EDIT: I've added that little piece to the demo page.