Add chat.js in public/javascripts