"The game of Life" clone(ish) in JavaScript