don't use native document.register (even if it's supported) without register='native' flag, because no native implementation is complete enough yet