Front JS for Realtime page