diff --git a/src/lib/dom-api.html b/src/lib/dom-api.html
index 1f717d33b8..ecf355eef2 100644
--- a/src/lib/dom-api.html
+++ b/src/lib/dom-api.html
@@ -24,8 +24,6 @@
     var nativeCloneNode = Element.prototype.cloneNode;
     var nativeImportNode = Document.prototype.importNode;
 
-    var dirtyRoots = [];
-
     var DomApi = function(node) {
       this.node = node;
       if (this.patch) {
@@ -36,11 +34,7 @@
     DomApi.prototype = {
 
       flush: function() {
-        for (var i=0, host; i