Fixed detecting current language of element.
Doh, console.log.
Merged basic and extended latin for now, we need a better trigram approach here.