Update error template to html5