made svir.py aware of the JS world and made it react to json_updated