Conway's Game of Life Based on Javascript