The original question was specifically about Jasmine pop-ups on a Windows phone as opposed to on a computer, the second problem having been dealt with in a thread that now seems to have disappeared. Looking for it however I found
this one, also
this. But since the current thread's title doesn't actually mention phones, I feel justified in mentioning that I find that Firefox addons
Adblock Plus and
Ghostery deal with most pop-ups; if I had anything they didn't catch I would block that specific website using
YesScript or
BlockSite Plus or both.