Essential Functionalities for HTML5 Single-Page-Apps (SPA)