added client side template for index.ejs to replace index.html