router: fix HTML5 support
view: add some more stuff