HTML5 Canvas implementation of Conway's Game of Life - Cellular Automata