single page application and handlebar template