(function($){
  $.fn.ieUtilities = function() {     
    return this.each(function() {
      var $this = $(this),
          $children = $this.children();

      if($children.length > 1) {
       $($children.get(0)).addClass('first-child');
       $($children.get($children.length - 1)).addClass('last-child');
      } else if(children.length == 1) { 
       $($children.get(0)).addClass('only-child');
      }
    });
  };
})(jQuery);
