fixing ejs for docjs #843