Create grid.js

added grid.js file