added browser language detection