Added .foreignMessage and .ownMessage in Chat.js to distinguish between this message types