Fix chat.js caching error