Simplify gumbo/dom/util.lua