HTML5 mode activation