Adding JS logic for Info-Block real-time updating