in memory router instance on page needs to use a location that is not a string server side