Update mode-html.js