Minesweeper javascript.