A simple minesweeper game in jQuery