Machine Learning examples in JS