Javascript Ejs Conditional Rendering Not Working As Expected Stack

Javascript Ejs Conditional Rendering Not Working As Expected Stack