Make message textbox readonly when a chat message is sent

Fixes #2.
A small issue fix.
Makes the message textbox `readonly`instead of getting the value of the `readonly` attribute