modify chat.Entity.js to chat.entity.js