merging updates from banner-widget code in dryad-repo