Simplify function_bind polyfill
Fix case-sensitivity when checking navigator.locale