Minesweeper using cordova, html, jquery