A minesweeper game in Javascript