disable html5mode to allow page refreshes