Building single page, modular html5 applications for PC and Mobile