Random experiments in HTML