Whoops, fixed error in lib.js