Prepare a web worker to run untrusted code securely