fix js change chat