For those interested in neural networks and Bayesian classifiers check out the brain.js library: http://harthur.github.com/brain/
It works in both node and the browser.