Micro-framework for single-page web-apps