fix evaluation of the result value in originchecked_ in signer.js and enroller.js

might be only a temp fix