A hack-ish thread pooling module for JavaScript