router: optimized hashbang rendering