create ads js and fancybox