Simple 1D Wolfram cellular automaton using HTML5/JS