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