Fix app/index.js so it passes jshint tests