actually fixed the JS moz event bug