Several linting fixes.  Added more build scripts.

- Fixed several linting issues.
- Removed an erroneous log.
- Added jsdoc for documentation generation.