updated the app to run in html5 mode