Firefox fixes and event specs