JavaScript minesweeper playable in browser