updated the grid and the js overlaywq