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.
there is no such thing as integer in javascript; this sole type hinting is kind of weird