Show indeterminate progress bar properly in dart2js

Fixed #2354.

review: @devoncarew