New version of GameOfLife with pure JavaScript