Light ThreadPool Library to Javascript