updateAdView, showAdView, hideAdView functions
catch cordova command