Minesweeper game using jQuery and HTML5 canvas