HPP Lattice Gas Automaton in Javascript