Provide config variables to JavaScript through an Express view.

This replaces the current process of rendering the main JavaScript file in the form of a Mustache template at the time of server start.

@louh, I'm finally starting to push some of my local clean-up efforts. How do these changes look to you?