Conway's Game of Life on JavaScript