Here's one approach: https://github.com/moneyadviceservice/frontend/commit/f861ef90d0ab2933a6800d1455115b5e35403a70