correct app.js setting of locale