Google Gears WorkerPool Demo

 View Demo Source

Interact with UI:
Run expensive computation: Note the synchronous computation blocks UI interaction (and may even cause an 'unresponsive script' warning).
But you can still interact while the asynchronous computation runs in a JavaScript worker.

Results

Hello, threaded JavaScript.

Parent initialized.