library.js is server-side java script, not jQuery. jQuery functionallity can be simulated with eg cheerio
main.js is included in HTML (client-side), here u can use jQuery.