Moved getDonations() to document.ready()