Fix object creation to work in IE9
Fix object creation to work in IE9

Signed-off-by: Kai Blin <94ddc6985b47aef772521e302594241f46a8f665@biotech.uni-tuebingen.de>

kblin/patscanui,kblin/patscanui,kblin/patscanui,kblin/patscanui