Set CSS text after style element is added to DOM, to fix crash on IE < 9.
Merge pull request #2000 from David-Hari/master

Set CSS text after style element is added to DOM, to fix crash on IE < 9...