Minesweeper Game in JavaScript

Controls:

LMB - reveal tile

MMB - mark flag / reveal surrounding tiles