IE doesn't care for boolean checks of .createElement - reverted back to using typeof...