Fix garbage in activities.js