Use this service

@Luke, @birdage 

javascript api list continued.
This should come from config.yml
@DanielJMaher has an example of how to use JINJA to get configurations into the JS.

What we probably ought to do is have the configuration elements that need to shared with javascript in an independent endpoint `/config.js` and flask returns javascript globals that define things like this from config.yml