Fix console on firefox
Merge pull request #1414 from matheod/its_e_not_event

Fix console on firefox