update app.js
formated