don't try and set rootURL on a string
router.js cleanup