Update prune-events.js