added support for mode  application/x-ejs
updated grunt file