revert CustomElements changes