Remove unused ejs dependency, caching templates only in production