Convert site to single-page app.