clean up chatcommands.js