Added instant update for javascript demo