init for index.ejs