Javascript implementation of multinomial naive Bayes classifier.