anchor.diff:  // on load
   
   $(function() {
  -  // initialize collapsers
  -  $(".collapser").click(function() {
  -    $(this).toggleClass("in");
  -  });
  -
     $("button#check-all-versions").click(checkAllVersions);
  -  $("button#refresh-installations-button").click(getInstallations);
  -
  -  getInstallations();
  +  $("button#refresh-installations-button").click(loadInstallations);
  +
  +  loadInstallations();
   });
positive.code:   });
  }
  
  function updateErrors(error_dirs) {
    var list = $("#error-details ul");
  
    // reset list
    $(list).html("");
  
    // list errors
    $(error_dirs).each(function() {
      $(list).append('<li><%= image("folder-exists-not") %> ' + this + '</li>');
    });
  
negative.code: 
  
  
  // global
  
  function checkAllVersions() {
    checkAllInstalledVersions();
    checkAllNewestVersions();
  }
  
  function loadInstallations() {
    $("h1 .busy").show();
    $("#check-all-versions").fadeOut();
    $("#errors").slideUp();
    $("#app-dirs").slideUp();
  
    $.getJSON("/installations.json").success(function(data) {
      renderErrorDirs(data.error_dirs);
      renderAppDirs(data.app_dirs)
      $("h1 .busy").hide();
      $("#check-all-versions").fadeIn();
    }).error(function(xhr, error, exception) {
      console.log(xhr);
      console.log(error);
  