Update public/js/router.js

Changed the router