updating app.js
update app.js
corrected app.js
copied code from tutorial