Explain how closures in JavaScript helped you solve a problem in your project for AIG PC Global Services.