A rendition of Minesweeper in JavaScript