reverting html5 mode