anchor.diff:          script       = document.createElement('script');
           script.src   = src;
           script.async = true;
  -        document.querySelector('head').appendChild(script);
  +        document.getElementsByTagName('head')[0].appendChild(script);
         }
         if (script.addEventListener && !script.getAttribute('data-listening')) {
           script.setAttribute('data-listening', true);
  
positive.code:   asset_root  = DC.asset_root(agnostic: true)
  %>
  (function() {
    window.dc             = window.dc || {};
    window.dc.searchQueue = window.dc.searchQueue || [];
    window.dc.recordHit   = "<%= server_root %>/pixel.gif";
    window.dc.embed       = window.dc.embed || {};
    window.dc.embed.load  = function(url, options) {
      var insertStylesheet = function(href, media) {
        if (!document.querySelector('link[href$="' + href + '"]')) {
          media = media || 'screen';
  
negative.code:             stylesheet.type  = 'text/css';
              stylesheet.media = media;
              stylesheet.href  = href;
          document.getElementsByTagName('head')[0].appendChild(stylesheet);
        }
      };
      var insertJavaScript = function(src, onLoadCallback) {
  