Better firefox handling.