isolate early deps into separate js