Javascript implementation of collapsed Gibbs sampling for Chinese Restaurant Process document clustering with a unigram language model.