Fixed IE issue with more than 31 stylesheets and multiple grids on a page