Update app.js

fix match declaration