set up one page app