Revert "Revert "html5_reset""

This reverts commit f1cabe996e0e0a3ae764bc34825007ac7209dba6.