A simple Javascript 3x3 minesweeper