simple Minesweeper clone programmed in JavaScript