ADEN-1197 check if wgLoadAdsInHead set before disabling amazon