Refactor app.js
Add Google Analytics code.