added html5mode to get rid of the nasty hash