What plug type is this?
Looks to me like a Molex 0510050200. People tend to call tiny white 2 pin connectors that end up in hobby electronics 'JST', even though usually they're molex or molex knockoffs. Can't be 100% sure that's the right connector without trying it though. The mating connector code is 0510060200.