setting html5mode to true to remove hash