add javascript code to call iAd plugin