Added pollard's rho algo in JS
Added default of pollard's rho algo