master/miniLockLib.js