Update swarm.js

User edit