This is a Minesweeper in JavaScript.