Added some precalculated statistics to the JSON data in the HTML report. That way we don't need to calculate it from JavaScript.