Revert "src/library.js"

This reverts commit 356acd25850368fa09be8c7418263479bbd5fb0f.