Fixing issues for inline-javascript injection for IE

concerning this post on stackoverflow and my own experience it is more save to use "scriptNode.text" instead of "scriptNode.appendChild" when injecting inline javascript.

http://stackoverflow.com/questions/7090198/using-appendchild-with-ie-in-javascript