drupalchat.js changes for drupalchat box