Update scrypt.js

If b is undefined, what are we testing?