JS tools, e.g. generate random array of integers with a pre-defined total sum etc.