app.js cleanup
fixed typo and fixed typo