updated ctvm.js...

…to allow progress bar to only update if length is greater than 1