Update index.js

Invoking loadUrl directly is not recommended since it can change, even-though currently it's backward compatible.
Also invoking router.navigate() with no parameter forces router to check routes from start again, current url of address bar won't be changed.