Update Grid.js

fix broken grid view