Fixed Chrome issue with document.styleSheets