Move $GetLinkingInfo to linking.js.