Minesweeper, done in Javascript