attach client router to server rendered markup