anchor.diff:  <html>
     <head>
       <meta charset="utf-8"/>
  +    <%= javascript_include_tag 'libs/jquery/jquery-1.11.3.js' %>
     </head>
     <body>
     <script>
  
positive.code:           signalOfferStatus();
          }
        }
      };
  
    })();
  
  
negative.code:     }
  
      function loadIFrame(pageURL, pageTitle) {
        var src = 'https://mcb.kcom.com/system/Offers.egain?command=GetRulesJS&egofferpageurl=' + pageURL + '&egofferpagetitle=' + pageTitle + '&egofferpatternchecksum=';
        $.getScript(src, function () {
          setInterval(signalOfferStatus, 1000);
        }).fail(function () {
          sendMessage({ evt: 'error' });
        });
  
      }
  
      function handleMessage(e) {
        var message;
        e = e.originalEvent;
        if (e.origin.match(/gov\.uk$/) || e.origin.match(/alphagov\.co\.uk$/)) {
          message = JSON.parse(e.data);
          if (message.evt === 'load') {
  