It's a Safari/WebKit issue. The same thing happens in BBEdit’s Preview, as well as in Safari.
The resolution is to replace the progress bar with a copy of itself every time you update it:
function myAdd() {
var pb = document.getElementById("myProgress");
pb.value += 10;
pb.replaceWith(pb);
}