improve grouping feature for IE8 and IE9