add js time in chat