Game of Life in jQuery