Update app.js

better search