A simple JavaScript implementation of Conway's Game of Life