Fix console on firefox