Simple JS implementation of the Game of Life