o bug #387164: display advertisements with javascript to capute remote URL and properly support ad_channels