Conway's Game of Life by Javascript