edit grid.js & router.js