anchor.diff:      var inst = $(".<%= detector.basic_name %>-app");
       var nv = $(inst).find(".newest-version, .outdated-installs");
       var nvt = $(nv).find(".version, .installs");
  -    var url = "/apps/<%= detector.basic_name %>/newest_version.json";
  +    var newestVersionUrl = "/apps/<%= detector.basic_name %>/newest_version.json";
   
       $(nv).find(".ajax-loader").show(); // show throbber
       $(nvt).html(""); // erase newest version text
  -    $.getJSON(url, function(data) {
  +    $.getJSON(newestVersionUrl).success(function(data) {
         updateNewestVersionFor(inst, data.newest_version);
         updateVerdicts(inst);
         addNewestVersionLink(inst, data);
  +    }).error(function(xhr, error, exception) {
  +      console.log(xhr);
  +      console.log(error);
  +      console.log(exception);
  +      error = titelize(error);
  +      updateNewestVersionFor(inst, '<span class="message error">'+error+': '+exception+'</span>');
       });
     }
   <% end %>
  +
  +
   
   function addNewestVersionLink(inst, data) {
     if (data.project_url_for_newest_version) {
  
positive.code:   }
  }
  
  function checkAllNewestVersions() {
    // start a request every 250ms
    <% @detectors.each_with_index do |detector, index| %>
  
negative.code:     var nvt = $(nv).find(".version");
      var url = "/apps/<%= detector.basic_name %>/newest_version.json";
  
      $(nv).find(".check-newest-version.button").click(checkNewestVersionFor<%= detector.basic_name.camelize %>);
    });
  
  