Minesweeper game implementation using jQuery