small changes to hashbang routing