can step through iterations in index.html

Worryingly, the simple_two case works (albeit with awkward weight
values)
simple_three does NOT respect weights for some reason
simple_four doesn't change in response to iterations