Update grid.js

fixed deleting everything