wip factor out jsDependencyManifest