STB single page application framework