Rewrite HTML5,fix #5