fix for ie 7,8

The innerText method does not exist for style tags in early versions of ie.  You have to access styleSheet.cssText instead.