The only stumbling block here is `CMS.URL` -- it's convenient to be able to save a URL in a Javascript variable through the Mako template engine, so that we can use Django's `reverse` function. Other scripts can then pick up those variables without needing to have hardcoded URLs, and without needing to be passed through Mako themselves. Tt is possible to do this without setting global JS variables by using [requirejs' module config options](http://www.requirejs.org/docs/api.html#config-moduleconfig), but it seems far more complex.

The other global variables like `CMS.Models` and `CMS.Views` can definitely be removed.