Cross browser working model for Conway's Game of Life