Exposing dump-state in the browser.

Refs #227.