html5 game of life simulation