clean up app.js:

- make sure all http() methods have an error callback
- make sure error messages are consistent across functions

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