Grid java script

- Implemented initial java script code for mvc grid.