Routing improves
Fix path check using location hash instead of pathname