Update roundProgress.js

fix for max = 0 case