attempt to catch and report errors in app.js

I'd like to see more work on tracking errors in Google Analytics, but for now the basics of tracking use is working. I've shared the Google Analytics account with Alaina.