Modified loading.html and router.js.