fix events for firefox
fix utils tests for firefox
1.0.12