Fixed Javascript so that udpates happen immediately.