JS quality control and documentation

Performed linting of JS code, including updates to the test code where necessary. Added jsdoc documentation to openbibl JS files, and added the resulting HTML documentation files to the repo.