HTML5 SPA manager