Website: Add API documentation.

Progress on #183.
Merge pull request #237 from nicksay/jsdoc-api-files

Website: Add API documentation.