fix js error for ads
remove duplicate ad definition