Hey OP, thanks for sharing this.
Wondering if something similar could be achieved for group adding also but soon or later users will find out that they joined
a new group, I suppose.
Anyway, for all of you trying to rename the func, just obfuscate the js code and you are ready ;)