Modified the grid.js file, and implement the dynamic js to run any grid. also implement the class vise implementation.