JS: remove the legacy ProbabilityDistribution

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>