Bayesian bandit implementation for Node and the browser.