Fix video advert JS error