See [support.js](https://github.com/alphagov/whitehall/blob/master/app/assets/javascripts/application/support.js)