Fix user color when submitting new message

Right now, when the user submits a new message in an ongoing conversation, the user color circle is not showing. The reason is that the user color value is not created due to the user name string having an extra space at the end. This causes the user string to be not matched up with the user string in the list of users, where the original colors are stored. 

I couldn't figure out why the extra space is added to ``$currentShape.text()`` on line 80, but I did managed to fix the problem by using the ``$.trim`` function to remove the extra space.

Update: for the ``<br />`` tags creating the line breaks, for some reason they are not being recognized as proper html. So I've opted to use ``\n`` to make the change happen.