solved problems with jshint
fixed typos in app.js