Use default `express` logger format in production
:abc:-ize `require`
Replace `streamline-express` with `express-streamline`
Extract `handleURL` from `app.locals`

`app.locals` are only needed for views. In this case, a simple
function suffices.
Reduce line length to below 80
Fix indentation
Prefer idiomatic `is` over `==`