Updated config.js to remove unused 'templatesDirectory'