domready bits from shoestring for better compat
rules or cssRules normalization
output