Update app.js

order by queue