IE (no constructor.name) workaround