I will update H1 in the new version, OK?
It’s hard to find the reason in your custom code, and php functions and js can’t not directly copy to the child theme.
User should use add_filter to rewrite the php function and define the new js to override the old js function, but not copy them directly.
Just please leave me your email, I will send you the modified version.
Thanks