Js reactions

Try to merge changes that fix computation of ractions
Better description. Describe case with one product and case with more products, are procentage given in percent or as fractions. Are they given for all products (so they have to sum to 1) or just for first N-1 products.