Make chat-plugins functionable 

The chat-plugins.js will not be read by app.js if the "global.plugins = require('./chat-plugins.js')" is not present so therefore plugins will not be useable without the above.