Fixed lasca.setLanguage method languages.length issue