fix jsregistry