Create library.js