rewrite in html5