<p>Is there some way to do multi-threading in JavaScript?</p>

In raw Javascript, the best that you can do is using the few asynchronous calls (xmlhttprequest), but that's not really threading and very limited.
Google Gears
adds a number of APIs to the browser, some of which can be used for threading support.