add client compile support to ejs