               callback counter
           else
             href = convertURL(tag.getAttribute('href'), dom.url)
-            Base64 href,tag,(error, tag, result) ->
+            Base64 href, tag, (error, tag, result) ->
               counter--
               if error?
-                console.error "(href) Base 64 error:", error.stack
+                console.error "(href) Base64 error (href=#{href}):", error.stack
               else
                 tag.setAttribute "href", result
               callback counter

            counter--
            if error?
              console.error "(style)gonzales error:", error.stack
            else
              tag.innerHTML = result
            callback counter

xhr = require '../modules/xhr.coffee'
gonzales = require '../modules/gonzales.coffee'

META_ATTRIBS_FOR_DEL = ['Content-Security-Policy', 'refresh']
ONEVENT_ATTRIBS = [ 'onload', 'onclick', 'onkeypress' ]

class TreeElementNotFound extends Error

