Adding HTML5 pushState support by renaming some routes.