$(document).ready(function(){
  var currentState;
  $(".item h2").each(function(){
    if($(this).text() == currentState){
        $(this).remove();
    }else{
      currentState = $(this).text();
    }
  });
});

