Rewrite workaround for browser.addProgressListener() failure
Probably browser doesn't work correctly at this time