remove also the registries of the removed legacy js