JavaScript implementation of Conway's Game of Life but with Game Elements