attempts to disable hashbang mode and enable html5mode