Update chat.js

Corrected port number to standard portnumber 8000