Use unworkify to run worker.js if running in browser