Update grid.js