replace console.log with console.error
Add a progress bar to test page