Replace setLocale and freeze with a more master-like API
Remove the forced argument
Register onReady in webapp-optimize