code cleanup on app.js

Signed-off-by: William Rockwood <wrockwood@tadl.org>