add js realtime