Make dictionaries contain Root<T> values instead of JS<T>, ensuring t…
895e9ee
…hat they will not be collected while the dictionary is alive.