switch app to html5mode