Formated app.js