fix css resource content synchronization for IE8 and lower

set cssText for style node when node is not attached to document cause
exception on IE8 and lower (styleSheet property is not defined in this
case)