srp.js: improve assertIsBignum()