Javascript based cellular automata simulator