Integrated GetBranchesTask with nodejs