$(document).ready(function() {
  
  // for general styling for JS-dependent things
  $("body").addClass("js_enabled");
  
  $("ul.clickify li").each(function() {
    
    var list_item = $(this);
    var link = $(this).find("a").attr("href");
    
    // covering the hover state of the interaction
    list_item.hover(
      function(){ $(this).addClass("hover"); }
      , 
      function(){ $(this).removeClass("hover"); }  
    );
    
    // covering the click state of the interaction
    list_item.click(function(){
      window.location = link;
    });
  });
  
});