Fix JSHint issues with app.js