Update app.js

fix bug of timeout filter