make addStyleRule work in IE<=8