Hide javascript errors displayed with Gecko 25+

The only solution is to redirect stderr. Adds a value for --debug,
"errors", to display them.

Closes #89