Rewrite HTML5,fix#2