Chat client side js update