Implement navigator.language

This PR makes `navigator.language` return current system locale instead of always `en-US` or empty string.