BBC interview question

write a javascript one page web app to simulate "Conway's Game of Life"