sync references.json and dom/xhr/encoding/url