A few changes/additions.

1) I removed publisherId and interstitialId and changed it to just "adId" for Android, ios, WP8, and the JS file.

2) I added a new attribute, donateTwoPercent, which defaults to "true". If it is true, then 2% of the ads will redirect to the default ad id, depending on the ad type. To that end, you might want to change the interstitial ID to an actual interstitial instead of a banner.

3) I changed some of the = formatting in the Java file.
4) I changed the formatting in the Javascript file to make it more concise.. try it!

I only tested this for Android and it seems to work. I haven't tested it in iOS or WP8.