Rid app.js of previous export and encounter button click handlers.