put app in html5 mode