CB-5706 convert some of the bash scripts to nodejs

only converted the ones necessary to allow iOS project management on a nonsupported OS