Minesweeper in Javascript (using Jade and Stylus)