Javasciprt API for conway's game of life.