anchor.diff:  
     //loading data from client
     if(navigator.userAgent == undefined){
  -    replaceStyleFalse("#userAgent");
  +    styleAsFailed("#userAgent");
       $("#userAgent").text("Undefined");
       $("#user_datum_user_agent_string").val("Undefined");
     }else if(blacklisted()){
  -    replaceStyleFalse("#userAgent");
  +    styleAsFailed("#userAgent");
       $("#userAgent").text(navigator.userAgent);
       $("#userAgent").append("\n Your browser may be in a compatibility mode supporting an older version of IE.");
       $("#user_datum_user_agent_string").val(navigator.userAgent);
     }else{
       $("#userAgent").text(navigator.userAgent);
  -    replaceStyle("#userAgent");
  +    styleAsPassed("#userAgent");
       $("#user_datum_user_agent_string").val(navigator.userAgent);
     }
   
     if(window.session.device.viewport.width == undefined && window.session.device.viewport.height == undefined){
       $("#windowSize").text("Undefined");
  -    replaceStyleFalse("#windowSize");
  +    styleAsFailed("#windowSize");
       $("#user_datum_window_size").val("Undefined");
     }else{
       $("#windowSize").text( window.session.device.viewport.width + " x "+ window.session.device.viewport.height);
  -    replaceStyle("#windowSize");
  +    styleAsPassed("#windowSize");
       $("#user_datum_window_size").val(window.session.device.viewport.width + " x "+ window.session.device.viewport.height);
     }
   
     if(window.session.device.screen.width == undefined && window.session.device.screen.height == undefined){
       $("#screenSize").text("Undefined");
  -    replaceStyleFalse("#screenSize");
  +    styleAsFailed("#screenSize");
       $("#user_datum_screen_size").val("Undefined");
     }else{
       $("#screenSize").text(window.session.device.screen.width + " x " + window.session.device.screen.height);
  -    replaceStyle("#screenSize");
  +    styleAsPassed("#screenSize");
       $("#user_datum_screen_size").val(window.session.device.screen.width + " x " + window.session.device.screen.height);
     }
   
     if(window.session.browser.os == undefined){
       $("#os").text("Undefined");
  -    replaceStyleFalse("#os");
  +    styleAsFailed("#os");
       $("#user_datum_operating_system").val("Undefined");
     }else{
       $("#os").text(window.session.browser.os);
  -    replaceStyle("#os");
  +    styleAsPassed("#os");
       $("#user_datum_operating_system").val(window.session.browser.os);
     }
   
     if(window.session.browser.browser == undefined && window.session.browser.version == undefined){
       $("#browser").text("Undefined");
  -    replaceStyleFalse("#browser");
  +    styleAsFailed("#browser");
       $("#user_datum_web_browser").val("Undefined");
     }else{
       $("#browser").text(window.session.browser.browser + " Version: " + window.session.browser.version);
  -    replaceStyle("#browser");
  +    styleAsPassed("#browser");
       $("#user_datum_web_browser").val(window.session.browser.browser + " Version: " + window.session.browser.version);
     }
   
     if(window.session.plugins.flash == true && window.session.plugins.flash != undefined){
       $("#flashEnabled").text(window.session.plugins.flash);
  -    replaceStyle("#flashEnabled");
  +    styleAsPassed("#flashEnabled");
       $("#user_datum_flash_enabled").val(window.session.plugins.flash);
     }else{
       $("#flashEnabled").text("False");
  -    replaceStyleFalse("#flashEnabled");
  +    styleAsFailed("#flashEnabled");
       $("#user_datum_flash_enabled").val("False");
     }
     if(Date() == undefined){
       $("#date").text("Undefined");
  -    replaceStyleFalse("#date");
  +    styleAsFailed("#date");
       $("#user_datum_date").val("Undefined");
     }else{
       $("#date").text(Date());
  -    replaceStyle("#date");
  +    styleAsPassed("#date");
       $("#user_datum_date").val(Date());
     }
   
     //Load data from control site https://control.continuity.net/favicon.ico
     $('#imagefavicon').on("error", function() {
       $("#continuity").text("Not Loaded");
  -    replaceStyleFalse("#continuity");
  +    styleAsFailed("#continuity");
       $("#user_datum_continuity_site").val("Not Loaded");
     });
     $('#imagefavicon').on("load", function(){
       $("#continuity").text("Loaded");
  -    replaceStyle("#continuity");
  +    styleAsPassed("#continuity");
       $("#user_datum_continuity_site").val("Loaded");
     });
     $('#imagefavicon').attr('src', "https://control.continuity.net/browser-test.png");
  
positive.code:   }
  }
  
  function replaceStyle(domID) {
    $(domID).parents(".alert").removeClass("grey").removeClass('alert-error').addClass("alert-success");
  }
  
  function replaceStyleFalse(domID) {
    $(domID).parents(".alert").removeClass("grey").addClass("alert-error");
  }
  
  
  function blacklisted() {
    var parser = new UAParser();
  
negative.code:   // handle completion of loads and failures
    if(third_party_site_loads == 5){
      $("#3rdparty").text('All loaded');
      styleAsPassed("#3rdparty");
    } else if (third_party_site_loads + third_party_site_failures == 6) {
      styleAsFailed("#3rdparty");
    }
  }
  