fail on the chat.js line 2