fixed ejs Js problem