Create Library.js

JS for HTML file