Fix/curebit page

@yields this should fix the curebit tests, and also should fix the single-page-app issue we're seeing on ayr