Update main.js

Fix ban and kick