Remove problematic register.js and jsregistry.xml.