The shape of things to come.
Use backbone.js to manage the sampler, instead of hard coding it into the page.