add JS toggle to HtmlDumper