Add JSDoc to libraries.