Got single page app working with history.