Use navigator.languages if available to determine default locale.
Fixes #70