HTML reporter

This PR adds a HTML reporter for the browser client. It only works in the browser client, and is enabled by default. See #103.
use `var className`