NodeReaper has asked for the wisdom of the Perl Monks concerning the following question:
Sounds like the error messages are generated by JavaScript. So a tool that can process JavaScript would probably be the best approach.