Update progresshud.js

added optional parameter for determined vs not