Use ejs template engine to display popups