forgot to commit chat.js - need to rename this file