[We do have this function...](https://github.com/guardian/frontend/blob/master/common/app/assets/javascripts/utils/page.js#L60)