Dynamic configuration of the javascript via flask object.
Dynamic configuration of node endpoints also using flask configuration object.
Fixing app.js