Minesweeper in JavaScript.