Update library.js

The value should be in a label attribute.