[#61855940] fix javascript errors on foundation loading; fix i18n config deprecation message