(function(Drupal, $) {
  $(function() {
    $('.field-name-field-menu-links a').each(function() {
      if(location.host == this.host && location.pathname == this.pathname)
        $(this).addClass('active');
        $(this).parent().addClass('active');
    });
  });
})(Drupal, jQuery);;

