fix typo in chat.ks
change port in chat.js