example how to set up html5mode