better grid.js