Update chat.html

Added the maxlength.