Update lib.js

Fix dependency