updating to use html5Mode