old ejs, typeof conditional for undefined vars in templates