remove Rails.env form chatpage.js and renamed chattemp