MineSweeper in jQuery