Yet Another Game of Life :: In Javascript