cleanup after people who don't test in ie

@... well anyone who will test in IE

problem and solution were easy to google: http://stackoverflow.com/questions/10159130/document-head-appendchild-or-document-createelement-not-working-in-ie