A JavaScript component to create functions that generate random values.