Game of Life in HTML/JavaScript