fix detection of console in firefox
close #141