JavaScript lightweight framework for single page application