This fix contains a small hack - in order to detect the default language from browser language preference during the first visit, the library page has to load /viewer_settings.js which contains that information.