fix navigator.language init safari