void addChip(Element chipEl, [bool appendToRoot = false]) { js.addChip(chipEl); if (appendToRoot) root.append(chipEl); }