clean up Grid.js