implemented ejs client templating and html5 cache manifest