Conway's Game of Life Implementation in jQuery