Bug 899604 - Fix problem with unsupported locale which doesn't default to en-US

https://bugzilla.mozilla.org/show_bug.cgi?id=899604