edit library.js