Users could fix the issue by clearing their browsing history and cache, but with iOS 10.3 Upgrade, the flaw has been fixed entirely and thus users should no longer get trapped in the endless cycle of JavaScript popups.