conway's game of life in js