First draft of a JavaScript class called Parallelism.