test html5 mode