Refactoised StaticContent Listeners to use BrowserTrust.Test.debug
instead of alert