JS bug in minesweeper.