Update app.js

removed parenthesis else error