Implemented log page viewing in JS.
Cleanup.
Allow specifying database with an environment variable.
Dynamic page title.