update 1314: update app.js to remove useless code block