Comway's Game of Life (JavaScript)