add methods to HtmlJs