A javascript random-noise generation and sampling utility