Threadpool js web page