move to html5 mode