Improved verifyStyle function to skip external stylesheets because browsers such as Firefox were throwing a Security exception.