game of life in JS