init router after docready