Deloy, fix some bugs in grid.js