Switch to HTML5 generation