Added deleteEvents + tests + cleaned up app.js.