Swapping out for singlePage.js