Update grid.js

Added minimal width rule for asterisks
Merge pull request #1259 from Matim4ik/master

Update grid.js