mg: make game grid with jQuery