Add HTML output for browser, and add predicate conditional support.