Added JSDocs to the donations.js file. Did a small refactor to the
donations.js file