<html> <script> function startWorker() { window.worker = new Worker('worker.js'); } </script> </html>