split js configuration in coreJS-initializing