Threaded JavaScript: it works!