Fixing for the case where i18n is not enabled and view engine -js is enabled