Allow grepping in output.

(WAY easier to debug what I do wrong.)
Calculate stats on JavaScript and HTML reports.