patch DOM prototypes to implement ShadowDOM