fixed JS. and getDonationAmount now returns a Decimal