add simple browser polyfill for worker to have higher success - but always run on exception