Modified the js to show the progress for compilation.