IE bugfix: cannot add css-rules into style-tag

Hello
I found that IE cannot add css-rules into style-tag so I had to find workaround.
I took one of them from here: http://forum.jquery.com/topic/jquery-append-into-style-element-causes-error-in-ie-only#14737000000368311