split registery js