include jquery in the advert directive