Modified app.js to support translations