update ShadowDOM’s hook into HTMLImports.