Update library.js

Forgive me about my perfectionist.