We continue simplifying and improving our HtmlElement class. By taking advantage of JavaScript’s first-class functions, we’re able to radically simplify the class’s repetitive method declarations. We actually define the methods by calling functions that return our method functions.