benchmark: don't rely on a separate JS, beautify the JSON

This allows you to move around a single file (the HTML) without also
copying the JavaScript by copying the script into the page.  Also,
the JSON data is now formatted more clearly, which should be nice
for people who want to look at the raw data.

Signed-off-by: Evan Nemerson <evan@coeus-group.com>