Repairing html5mode toggle.