Firefocx try/catch fix