The Capacitors are to keep motors from sending emf noise out. If just 2 caps, they go from each lead to the motor can. 3 is better, with the other spanning both leads. Shorter legs are better so they can't act like antenna.
http://www.rccrawler.com/forum/elect...apacitors.html