Used smaller try catch blocks for firefoxAccessExceptions