Update library.js

Change library headings to an empty optgroup.
![optgroupjsb](https://f.cloud.github.com/assets/442793/2032806/3474f386-8914-11e3-8fb7-d874a1ccf909.png)

Optgroup could also go around the options but that would add a margin on the left of each.