Implement ajax in donate function