added try-catch when destroying the ad manager to prevent script error when changing media on FireFox (playlist)