Js reactions

Try to merge changes that fix computation of ractions
Wrong description. Remove the context process "decay" (same in DecayChain::input_type).