Updating application to use html5mode within