Added app-chat.js