moved Chat model to static/js/chat/models.js