put chat.js in chat.ejs