Game of life for Firefox OS