Markov Chain Monte Carlo / Cellular Potts slime mold simulation in JavaScript