Hi There,
I am an expert in javascript and I can fix your issue, please come on chat for discussion and we will start asap.
Also, can you share your ad code so I can test it on my end, is it possible? I have some experience in revive ad server.
Thanks,
Rupa