Fix FF 23 console error