Update miniLock.js

Trivial optimisation of regular expression matching for base58