#178 Added workaround for limited number of styleSheets in IE(6-9).