add the game of life script to the page