anchor.diff:    }
   }
   
  -function replaceStyle(domID) {
  +function styleAsPassed(domID) {
     $(domID).parents(".alert").removeClass("grey").removeClass('alert-error').addClass("alert-success");
   }
   
  -function replaceStyleFalse(domID) {
  +function styleAsFailed(domID) {
     $(domID).parents(".alert").removeClass("grey").addClass("alert-error");
   }
  -
   
   function blacklisted() {
     var parser = new UAParser();
  
positive.code: 
    //loading data from client
    if(navigator.userAgent == undefined){
      replaceStyleFalse("#userAgent");
      $("#userAgent").text("Undefined");
      $("#user_datum_user_agent_string").val("Undefined");
    }else if(blacklisted()){
      replaceStyleFalse("#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");
      $("#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");
      $("#user_datum_window_size").val("Undefined");
    }else{
      $("#windowSize").text( window.session.device.viewport.width + " x "+ window.session.device.viewport.height);
      replaceStyle("#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");
      $("#user_datum_screen_size").val("Undefined");
    }else{
      $("#screenSize").text(window.session.device.screen.width + " x " + window.session.device.screen.height);
      replaceStyle("#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");
      $("#user_datum_operating_system").val("Undefined");
    }else{
      $("#os").text(window.session.browser.os);
      replaceStyle("#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");
      $("#user_datum_web_browser").val("Undefined");
    }else{
      $("#browser").text(window.session.browser.browser + " Version: " + window.session.browser.version);
      replaceStyle("#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");
      $("#user_datum_flash_enabled").val(window.session.plugins.flash);
    }else{
      $("#flashEnabled").text("False");
      replaceStyleFalse("#flashEnabled");
      $("#user_datum_flash_enabled").val("False");
    }
    if(Date() == undefined){
      $("#date").text("Undefined");
      replaceStyleFalse("#date");
      $("#user_datum_date").val("Undefined");
    }else{
      $("#date").text(Date());
      replaceStyle("#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");
      $("#user_datum_continuity_site").val("Not Loaded");
    });
    $('#imagefavicon').on("load", function(){
      $("#continuity").text("Loaded");
      replaceStyle("#continuity");
      $("#user_datum_continuity_site").val("Loaded");
    });
    $('#imagefavicon').attr('src', "https://control.continuity.net/browser-test.png");
  
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");
    }
  }
  