wrap dynamic content in partial when creating dynamic ejs on startup