Gaussian process regression demo in Javascript