tweaked static/js/chatboxManager.js