Make use of a bcviz function in the browser

For #8