anchor.diff:      // onload event of all script tags and getting the first script which
       // finishes. Since onload is called immediately after execution this should
       // not substantially change execution order.
  -    buffer.write("""
  +    buffer.write('''
   ;(function (callback) {
  -  if (typeof document === 'undefined') {
  +  if (typeof document === "undefined") {
       callback(null);
       return;
     }
  
positive.code:   var scripts = document.scripts;
    function onLoad(event) {
      for (var i = 0; i < scripts.length; ++i) {
        scripts[i].removeEventListener('load', onLoad, false);
      }
      callback(event.target);
    }
    for (var i = 0; i < scripts.length; ++i) {
      scripts[i].addEventListener('load', onLoad, false);
    }
  })(function(currentScript) {
    ${namer.isolateName}.${namer.isolatePropertiesName}.\$currentScript =
        currentScript;
  
    if (typeof console !== 'undefined' && typeof document !== 'undefined' &&
        document.readyState == "loading") {
      console.warn("Dart script executed synchronously, use <script src='" +
          currentScript.src + "' defer></scr" + "ipt> to execute after parsing " +
  
negative.code:   } else {
      ${mainCall};
    }
  })$N''');
      addComment('END invoke [main].', buffer);
    }
  
  