iframe Secury Error try-catch fix