Conway's Game of Life JavaScript implementation