Added JS game of life